﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Speech.Synthesis;
using System.Text;
using System.Threading.Tasks;

namespace Kanban.Common
{
    public class SpeechHelper
    {
        public static void Send(string value)
        {
            SpeechSynthesizer synthesizer = new SpeechSynthesizer();
            synthesizer.SelectVoiceByHints(VoiceGender.Male, VoiceAge.Adult);
            synthesizer.Volume = 100;
            synthesizer.Rate = 0;
            synthesizer.Speak(value);
        }
    }
}
